﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LabTask2Sharp
{
    class Person
    {
        public enum Professions { Boss, Secretary, ItSupport, Worker, NA }

        public string Id { get; set; }
        public Professions Profession { get; set; }
        public bool GarlicLover { get; set; }
        public int MaxVisitors { get; set; }
        public bool AssignedToRoom { get; set; }
        public List<Room> PossibleRooms { get; set; }

        public Person()
        {
            Id = "N/A";
            Profession = Professions.NA;
            GarlicLover = AssignedToRoom = false;
            MaxVisitors = -1;
            PossibleRooms = new List<Room>();
        }

        public Person(string Id, Professions Profession, bool GarlicLover, int MaxVisitors)
        {
            this.Id = Id;
            this.Profession = Profession;
            this.GarlicLover = GarlicLover;
            this.MaxVisitors = MaxVisitors;
            this.AssignedToRoom = false;
            PossibleRooms = new List<Room>();
        }
    }
}
